package com.company.createtype.abstractFactory;

import com.company.Product;
import com.company.createtype.factoryfunction.IMethodFactory;

public class CarGlassFactory implements IMethodFactory {

    public static class CarGlasses extends Product{

    }
    @Override
    public Product create() {
        return new CarGlasses();
    }
}
